package com.tts.domain;

import java.math.BigDecimal;
import java.time.LocalDate;

public class OrderForm {
	private int id;
	private int userId;
	private String trainId;
	private LocalDate buyDate;
	private int ticketNumber;
	private BigDecimal totalFares;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public String getTrainId() {
		return trainId;
	}
	public void setTrainId(String trainId) {
		this.trainId = trainId;
	}
	public LocalDate getBuyDate() {
		return buyDate;
	}
	public void setBuyDate(LocalDate buyDate) {
		this.buyDate = buyDate;
	}
	public int getTicketNumber() {
		return ticketNumber;
	}
	public void setTicketNumber(int ticketNumber) {
		this.ticketNumber = ticketNumber;
	}
	public BigDecimal getTotalFares() {
		return totalFares;
	}
	public void setTotalFares(BigDecimal totalFares) {
		this.totalFares = totalFares;
	}
	public OrderForm(int id, int userId, String trainId, LocalDate buyDate, int ticketNumber, BigDecimal totalFares) {
		super();
		this.id = id;
		this.userId = userId;
		this.trainId = trainId;
		this.buyDate = buyDate;
		this.ticketNumber = ticketNumber;
		this.totalFares = totalFares;
	}
	public OrderForm() {
		super();
		
	}
	
}
